home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
Dot2Dot •••
/
DDCS
/
DDCS.rsrc
/
CODE_5.txt
< prev
next >
Wrap
Text File
|
1988-10-20
|
50KB
|
894 lines
# near model CODE resource
# jump table entries: 424-429 (6 of them)
export_54:
00000000 4E56 FFF6 link A6, -0x000A
00000004 2D4E FFFC move.l [A6 - 0x4], A6
00000008 3E2D EC58 move.w D7, [A5 - 0x13A8]
0000000C 6600 0012 bne +0x14 /* 00000020 */
00000010 202D EB7A move.l D0, [A5 - 0x1486]
00000014 4EBA 0884 jsr [PC + 0x884 /* 0000089A */]
00000018 1D40 FFF6 move.b [A6 - 0xA], D0
0000001C 4EFA 000E jmp [PC + 0xE /* 0000002C */]
label00000020:
00000020 203C 0000 012C move.l D0, 0x12C
00000026 7206 moveq.l D1, 0x06
00000028 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
label0000002C:
0000002C 102E FFF6 move.b D0, [A6 - 0xA]
00000030 4E5E unlink A6
00000032 4E75 rts
00000034 4444 neg.w D4
00000036 5F50 subq.w [A0], 7
00000038 4147 chk.w D0, D7
0000003A 4553 chk.w D2, [A3]
export_58:
0000003C 4E56 FFF2 link A6, -0x000E
00000040 48EE 6001 FFF4 movem.l [A6 - 0xC], D0,A5,A6
00000046 206D EB7A movea.l A0, [A5 - 0x1486]
0000004A 2050 movea.l A0, [A0]
0000004C 3028 0018 move.w D0, [A0 + 0x18]
00000050 0240 FF00 andi.w D0, 0xFF00
00000054 0C40 0100 cmpi.w D0, 0x100
00000058 6600 002A bne +0x2C /* 00000084 */
0000005C 3E2D EC58 move.w D7, [A5 - 0x13A8]
00000060 6600 000E bne +0x10 /* 00000070 */
00000064 4EBA 04FA jsr [PC + 0x4FA /* 00000560 */]
00000068 1D40 FFF2 move.b [A6 - 0xE], D0
0000006C 4EFA 0012 jmp [PC + 0x12 /* 00000080 */]
label00000070:
00000070 203C 0000 012C move.l D0, 0x12C
00000076 7206 moveq.l D1, 0x06
00000078 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
0000007C 422E FFF2 clr.b [A6 - 0xE]
label00000080:
00000080 4EFA 0012 jmp [PC + 0x12 /* 00000094 */]
label00000084:
00000084 203C 0000 012C move.l D0, 0x12C
0000008A 7207 moveq.l D1, 0x07
0000008C 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000090 422E FFF2 clr.b [A6 - 0xE]
label00000094:
00000094 102E FFF2 move.b D0, [A6 - 0xE]
00000098 4E5E unlink A6
0000009A 4E75 rts
0000009C 4444 neg.w D4
0000009E 5F53 subq.w [A3], 7
000000A0 4554 chk.w D2, [A4]
000000A2 5052 addq.w [A2], 8
export_57:
000000A4 4E56 FFD8 link A6, -0x0028
000000A8 2D4E FFFC move.l [A6 - 0x4], A6
000000AC 426E FFD8 clr.w [A6 - 0x28]
000000B0 206D EBAE movea.l A0, [A5 - 0x1452]
000000B4 2F10 move.l -[A7], [A0]
000000B6 A851 syscall SetCursor
000000B8 4EBA 0088 jsr [PC + 0x88 /* 00000142 */]
000000BC 3D40 FFD8 move.w [A6 - 0x28], D0
000000C0 4A40 tst.w D0
000000C2 6600 0040 bne +0x42 /* 00000104 */
000000C6 42A7 clr.l -[A7]
000000C8 3F3C 0103 move.w -[A7], 0x103
000000CC 42A7 clr.l -[A7]
000000CE 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000000D4 A97C syscall GetNewDialog
000000D6 205F movea.l A0, [A7]+
000000D8 2D48 FFDA move.l [A6 - 0x26], A0
000000DC 2F2E FFDA move.l -[A7], [A6 - 0x26]
000000E0 A981 syscall DrawDialog
000000E2 202D EB7A move.l D0, [A5 - 0x1486]
000000E6 4281 clr.l D1
000000E8 4282 clr.l D2
000000EA 4283 clr.l D3
000000EC 486E FFDE pea.l [A6 - 0x22]
000000F0 281F move.l D4, [A7]+
000000F2 4EBA 07BE jsr [PC + 0x7BE /* 000008B2 */]
000000F6 4EBA 07F4 jsr [PC + 0x7F4 /* 000008EC */]
000000FA 3D40 FFD8 move.w [A6 - 0x28], D0
000000FE 2F2E FFDA move.l -[A7], [A6 - 0x26]
00000102 A983 syscall DisposeDialog
label00000104:
00000104 3E2E FFD8 move.w D7, [A6 - 0x28]
00000108 6706 beq +0x8 /* 00000110 */
0000010A 0C6E 0080 FFD8 cmpi.w [A6 - 0x28], 0x80
label00000110:
00000110 6700 0012 beq +0x14 /* 00000124 */
00000114 322E FFD8 move.w D1, [A6 - 0x28]
00000118 48C1 ext.l D1
0000011A 203C 0000 012C move.l D0, 0x12C
00000120 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
label00000124:
00000124 703E moveq.l D0, 0x3E
00000126 A032 syscall FlushEvents
00000128 206D FEFC movea.l A0, [A5 - 0x104]
0000012C D1FC 0000 005E add.l A0, 0x5E /* '^' */
00000132 2F08 move.l -[A7], A0
00000134 A851 syscall SetCursor
00000136 4E5E unlink A6
00000138 4E75 rts
0000013A 4444 neg.w D4
0000013C 5F48 subq.w A0, 7
0000013E 414E chk.w D0, A6
00000140 444C neg.w A4
fn00000142:
00000142 4E56 FFEC link A6, -0x0014
00000146 2D4E FFFC move.l [A6 - 0x4], A6
0000014A 3D7C 0001 FFEC move.w [A6 - 0x14], 0x1
00000150 DEFC FFE2 add.w A7, 0xFFE2
00000154 202D EB7A move.l D0, [A5 - 0x1486]
00000158 4281 clr.l D1
0000015A 4282 clr.l D2
0000015C 4EBA 0764 jsr [PC + 0x764 /* 000008C2 */]
00000160 2D48 FFF4 move.l [A6 - 0xC], A0
00000164 4EBA 0786 jsr [PC + 0x786 /* 000008EC */]
00000168 3D40 FFF2 move.w [A6 - 0xE], D0
0000016C 4A40 tst.w D0
0000016E 6600 03D8 bne +0x3DA /* 00000548 */
00000172 202E FFF4 move.l D0, [A6 - 0xC]
00000176 4281 clr.l D1
00000178 4EBA 0758 jsr [PC + 0x758 /* 000008D2 */]
0000017C 4EBA 076E jsr [PC + 0x76E /* 000008EC */]
00000180 3D40 FFF2 move.w [A6 - 0xE], D0
00000184 4A40 tst.w D0
00000186 6600 03C0 bne +0x3C2 /* 00000548 */
0000018A 486E FFE4 pea.l [A6 - 0x1C]
0000018E A874 syscall GetPort
00000190 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000194 A873 syscall SetPort
00000196 206D EB7A movea.l A0, [A5 - 0x1486]
0000019A 2050 movea.l A0, [A0]
0000019C 302D E8D4 move.w D0, [A5 - 0x172C]
000001A0 906D E8D0 sub.w D0, [A5 - 0x1730]
000001A4 3228 000E move.w D1, [A0 + 0xE]
000001A8 9240 sub.w D1, D0
000001AA E241 asr D1.w, 1
000001AC 3D41 FFF0 move.w [A6 - 0x10], D1
000001B0 206D EB7A movea.l A0, [A5 - 0x1486]
000001B4 2050 movea.l A0, [A0]
000001B6 302D E8D2 move.w D0, [A5 - 0x172E]
000001BA 906D E8CE sub.w D0, [A5 - 0x1732]
000001BE 3228 000C move.w D1, [A0 + 0xC]
000001C2 9240 sub.w D1, D0
000001C4 E241 asr D1.w, 1
000001C6 0441 000A subi.w D1, 0xA /* '\n' */
000001CA 3D41 FFEE move.w [A6 - 0x12], D1
000001CE 3E2D FE94 move.w D7, [A5 - 0x16C]
000001D2 6600 0008 bne +0xA /* 000001DC */
000001D6 046E 000F FFEE subi.w [A6 - 0x12], 0xF
label000001DC:
000001DC 302E FFF0 move.w D0, [A6 - 0x10]
000001E0 4440 neg.w D0
000001E2 3F00 move.w -[A7], D0
000001E4 302E FFEE move.w D0, [A6 - 0x12]
000001E8 4440 neg.w D0
000001EA 3F00 move.w -[A7], D0
000001EC A878 syscall SetOrigin
000001EE 0C6D 0001 FE9A cmpi.w [A5 - 0x166], 0x1
000001F4 6700 00AE beq +0xB0 /* 000002A4 */
000001F8 206E FFF4 movea.l A0, [A6 - 0xC]
000001FC 5488 addq.l A0, 2
000001FE 486D E8CE pea.l [A5 - 0x1732]
00000202 201F move.l D0, [A7]+
00000204 486D E8BA pea.l [A5 - 0x1746]
00000208 221F move.l D1, [A7]+
0000020A 2408 move.l D2, A0
0000020C 4283 clr.l D3
0000020E 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000212 0C6D 0001 FE9C cmpi.w [A5 - 0x164], 0x1
00000218 6600 000E bne +0x10 /* 00000228 */
0000021C 206D EC36 movea.l A0, [A5 - 0x13CA]
00000220 2D50 FFCE move.l [A6 - 0x32], [A0]
00000224 4EFA 0064 jmp [PC + 0x64 /* 0000028A */]
label00000228:
00000228 0C6D 0001 FE9E cmpi.w [A5 - 0x162], 0x1
0000022E 6600 0014 bne +0x16 /* 00000244 */
00000232 206D FEFC movea.l A0, [A5 - 0x104]
00000236 D1FC 0000 00AA add.l A0, 0xAA
0000023C 2D48 FFCE move.l [A6 - 0x32], A0
00000240 4EFA 0048 jmp [PC + 0x48 /* 0000028A */]
label00000244:
00000244 0C6D 0001 FEA0 cmpi.w [A5 - 0x160], 0x1
0000024A 6600 0014 bne +0x16 /* 00000260 */
0000024E 206D FEFC movea.l A0, [A5 - 0x104]
00000252 D1FC 0000 00B2 add.l A0, 0xB2
00000258 2D48 FFCE move.l [A6 - 0x32], A0
0000025C 4EFA 002C jmp [PC + 0x2C /* 0000028A */]
label00000260:
00000260 0C6D 0001 FEA2 cmpi.w [A5 - 0x15E], 0x1
00000266 6600 0014 bne +0x16 /* 0000027C */
0000026A 206D FEFC movea.l A0, [A5 - 0x104]
0000026E D1FC 0000 00A2 add.l A0, 0xA2
00000274 2D48 FFCE move.l [A6 - 0x32], A0
00000278 4EFA 0010 jmp [PC + 0x10 /* 0000028A */]
label0000027C:
0000027C 0C6D 0001 FEA4 cmpi.w [A5 - 0x15C], 0x1
00000282 6600 0006 bne +0x8 /* 0000028A */
00000286 42AE FFCE clr.l [A6 - 0x32]
label0000028A:
0000028A 2E2E FFCE move.l D7, [A6 - 0x32]
0000028E 6700 0014 beq +0x16 /* 000002A4 */
00000292 3F3C 000F move.w -[A7], 0xF
00000296 A89C syscall PenMode
00000298 2F2E FFCE move.l -[A7], [A6 - 0x32]
0000029C A89D syscall PenPat
0000029E 486D E8CE pea.l [A5 - 0x1732]
000002A2 A8A2 syscall PaintRect
label000002A4:
000002A4 3F3C 0001 move.w -[A7], 0x1
000002A8 A889 syscall TextMode
000002AA 3F3C 00F8 move.w -[A7], 0xF8
000002AE A887 syscall TextFont
000002B0 102D EAF2 move.b D0, [A5 - 0x150E]
000002B4 0600 0009 addi.b D0, 0x9 /* '\t' */
000002B8 4880 ext.w D0
000002BA 3F00 move.w -[A7], D0
000002BC A88A syscall TextSize
000002BE 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000002C2 A89C syscall PenMode
000002C4 206D FEFC movea.l A0, [A5 - 0x104]
000002C8 D1FC 0000 00BA add.l A0, 0xBA
000002CE 2F08 move.l -[A7], A0
000002D0 A89D syscall PenPat
000002D2 102D EAF2 move.b D0, [A5 - 0x150E]
000002D6 5200 addq.b D0, 1
000002D8 4880 ext.w D0
000002DA 3F00 move.w -[A7], D0
000002DC 102D EAF2 move.b D0, [A5 - 0x150E]
000002E0 5200 addq.b D0, 1
000002E2 4880 ext.w D0
000002E4 3F00 move.w -[A7], D0
000002E6 A89B syscall PenSize
000002E8 1D7C 0030 FFD8 move.b [A6 - 0x28], 0x30 /* '0' */
000002EE 1D7C 0030 FFD9 move.b [A6 - 0x27], 0x30 /* '0' */
000002F4 1D7C 0031 FFDA move.b [A6 - 0x26], 0x31 /* '1' */
000002FA 422E FFD6 clr.b [A6 - 0x2A]
label000002FE:
000002FE 102E FFD6 move.b D0, [A6 - 0x2A]
00000302 B02D EAFC cmp.b D0, [A5 - 0x1504]
00000306 6E00 00E0 bgt +0xE2 /* 000003E8 */
0000030A 102E FFD6 move.b D0, [A6 - 0x2A]
0000030E 0240 00FF andi.w D0, 0xFF
00000312 41ED EC80 lea.l A0, [A5 - 0x1380]
00000316 0280 0000 FFFF andi.l D0, 0xFFFF
0000031C E788 lsl D0, 3
0000031E D1C0 add.l A0, D0
00000320 3F28 0002 move.w -[A7], [A0 + 0x2]
00000324 102E FFD6 move.b D0, [A6 - 0x2A]
00000328 0240 00FF andi.w D0, 0xFF
0000032C 41ED EC80 lea.l A0, [A5 - 0x1380]
00000330 0280 0000 FFFF andi.l D0, 0xFFFF
00000336 E788 lsl D0, 3
00000338 D1C0 add.l A0, D0
0000033A 3F10 move.w -[A7], [A0]
0000033C A893 syscall MoveTo
0000033E 3F3C FFFD move.w -[A7], 0xFFFD
00000342 4267 clr.w -[A7]
00000344 A894 syscall Move
00000346 3F3C 0040 move.w -[A7], 0x40 /* '@' */
0000034A A883 syscall DrawChar
0000034C 102E FFD6 move.b D0, [A6 - 0x2A]
00000350 0240 00FF andi.w D0, 0xFF
00000354 41ED EC80 lea.l A0, [A5 - 0x1380]
00000358 0280 0000 FFFF andi.l D0, 0xFFFF
0000035E E788 lsl D0, 3
00000360 D1C0 add.l A0, D0
00000362 3F28 0004 move.w -[A7], [A0 + 0x4]
00000366 102E FFD6 move.b D0, [A6 - 0x2A]
0000036A 0240 00FF andi.w D0, 0xFF
0000036E 41ED EC80 lea.l A0, [A5 - 0x1380]
00000372 0280 0000 FFFF andi.l D0, 0xFFFF
00000378 E788 lsl D0, 3
0000037A D1C0 add.l A0, D0
0000037C 3F28 0006 move.w -[A7], [A0 + 0x6]
00000380 A894 syscall Move
00000382 486E FFD8 pea.l [A6 - 0x28]
00000386 303C 0003 move.w D0, 0x3
0000038A 906E FFEC sub.w D0, [A6 - 0x14]
0000038E 3F00 move.w -[A7], D0
00000390 3F2E FFEC move.w -[A7], [A6 - 0x14]
00000394 A885 syscall DrawText
00000396 0C2E 0039 FFDA cmpi.b [A6 - 0x26], 0x39 /* '9' */
0000039C 6700 000A beq +0xC /* 000003A8 */
000003A0 522E FFDA addq.b [A6 - 0x26], 1
000003A4 4EFA 003A jmp [PC + 0x3A /* 000003E0 */]
label000003A8:
000003A8 1D7C 0030 FFDA move.b [A6 - 0x26], 0x30 /* '0' */
000003AE 0C2E 0039 FFD9 cmpi.b [A6 - 0x27], 0x39 /* '9' */
000003B4 6700 000A beq +0xC /* 000003C0 */
000003B8 522E FFD9 addq.b [A6 - 0x27], 1
000003BC 4EFA 0014 jmp [PC + 0x14 /* 000003D2 */]
label000003C0:
000003C0 3D7C 0003 FFEC move.w [A6 - 0x14], 0x3
000003C6 1D7C 0031 FFD8 move.b [A6 - 0x28], 0x31 /* '1' */
000003CC 1D7C 0030 FFD9 move.b [A6 - 0x27], 0x30 /* '0' */
label000003D2:
000003D2 0C6E 0001 FFEC cmpi.w [A6 - 0x14], 0x1
000003D8 6600 0006 bne +0x8 /* 000003E0 */
000003DC 526E FFEC addq.w [A6 - 0x14], 1
label000003E0:
000003E0 522E FFD6 addq.b [A6 - 0x2A], 1
000003E4 6000 FF18 bra -0xE6 /* 000002FE */
label000003E8:
000003E8 422E FFD6 clr.b [A6 - 0x2A]
label000003EC:
000003EC 102E FFD6 move.b D0, [A6 - 0x2A]
000003F0 B02D EAF4 cmp.b D0, [A5 - 0x150C]
000003F4 6E00 0070 bgt +0x72 /* 00000466 */
000003F8 102E FFD6 move.b D0, [A6 - 0x2A]
000003FC 0240 00FF andi.w D0, 0xFF
00000400 41ED E8E4 lea.l A0, [A5 - 0x171C]
00000404 0280 0000 FFFF andi.l D0, 0xFFFF
0000040A E588 lsl D0, 2
0000040C D1C0 add.l A0, D0
0000040E 3F28 0002 move.w -[A7], [A0 + 0x2]
00000412 102E FFD6 move.b D0, [A6 - 0x2A]
00000416 0240 00FF andi.w D0, 0xFF
0000041A 41ED E8E4 lea.l A0, [A5 - 0x171C]
0000041E 0280 0000 FFFF andi.l D0, 0xFFFF
00000424 E588 lsl D0, 2
00000426 D1C0 add.l A0, D0
00000428 3F10 move.w -[A7], [A0]
0000042A A893 syscall MoveTo
0000042C 102E FFD6 move.b D0, [A6 - 0x2A]
00000430 0240 00FF andi.w D0, 0xFF
00000434 41ED E948 lea.l A0, [A5 - 0x16B8]
00000438 0280 0000 FFFF andi.l D0, 0xFFFF
0000043E E588 lsl D0, 2
00000440 D1C0 add.l A0, D0
00000442 3F28 0002 move.w -[A7], [A0 + 0x2]
00000446 102E FFD6 move.b D0, [A6 - 0x2A]
0000044A 0240 00FF andi.w D0, 0xFF
0000044E 41ED E948 lea.l A0, [A5 - 0x16B8]
00000452 0280 0000 FFFF andi.l D0, 0xFFFF
00000458 E588 lsl D0, 2
0000045A D1C0 add.l A0, D0
0000045C 3F10 move.w -[A7], [A0]
0000045E A891 syscall LineTo
00000460 522E FFD6 addq.b [A6 - 0x2A], 1
00000464 6086 bra -0x78 /* 000003EC */
label00000466:
00000466 422E FFD6 clr.b [A6 - 0x2A]
label0000046A:
0000046A 102E FFD6 move.b D0, [A6 - 0x2A]
0000046E B02D EAF5 cmp.b D0, [A5 - 0x150B]
00000472 6E00 0056 bgt +0x58 /* 000004CA */
00000476 122E FFD6 move.b D1, [A6 - 0x2A]
0000047A 0241 00FF andi.w D1, 0xFF
0000047E 41ED EA10 lea.l A0, [A5 - 0x15F0]
00000482 0281 0000 FFFF andi.l D1, 0xFFFF
00000488 E589 lsl D1, 2
0000048A D1C1 add.l A0, D1
0000048C 102E FFD6 move.b D0, [A6 - 0x2A]
00000490 0240 00FF andi.w D0, 0xFF
00000494 43ED E9AC lea.l A1, [A5 - 0x1654]
00000498 0280 0000 FFFF andi.l D0, 0xFFFF
0000049E E588 lsl D0, 2
000004A0 D3C0 add.l A1, D0
000004A2 2009 move.l D0, A1
000004A4 2208 move.l D1, A0
000004A6 486E FFDC pea.l [A6 - 0x24]
000004AA 241F move.l D2, [A7]+
000004AC 486E FFEA pea.l [A6 - 0x16]
000004B0 261F move.l D3, [A7]+
000004B2 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
000004B6 486E FFDC pea.l [A6 - 0x24]
000004BA 3F2E FFEA move.w -[A7], [A6 - 0x16]
000004BE 3F3C 005A move.w -[A7], 0x5A /* 'Z' */
000004C2 A8BE syscall FrameArc
000004C4 522E FFD6 addq.b [A6 - 0x2A], 1
000004C8 60A0 bra -0x5E /* 0000046A */
label000004CA:
000004CA 3E2D FE94 move.w D7, [A5 - 0x16C]
000004CE 6600 0062 bne +0x64 /* 00000532 */
000004D2 0C6D 0001 FE96 cmpi.w [A5 - 0x16A], 0x1
000004D8 6600 001A bne +0x1C /* 000004F4 */
000004DC 1E2D EACF move.b D7, [A5 - 0x1531]
000004E0 6700 0006 beq +0x8 /* 000004E8 */
000004E4 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
label000004E8:
000004E8 41ED EB5F lea.l A0, [A5 - 0x14A1]
000004EC 2D48 FFD2 move.l [A6 - 0x2E], A0
000004F0 4EFA 000A jmp [PC + 0xA /* 000004FC */]
label000004F4:
000004F4 41ED EB3E lea.l A0, [A5 - 0x14C2]
000004F8 2D48 FFD2 move.l [A6 - 0x2E], A0
label000004FC:
000004FC 3F3C 0012 move.w -[A7], 0x12
00000500 A88A syscall TextSize
00000502 4267 clr.w -[A7]
00000504 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000508 A88C syscall StringWidth
0000050A 301F move.w D0, [A7]+
0000050C 3D40 FFE8 move.w [A6 - 0x18], D0
00000510 302D E8D4 move.w D0, [A5 - 0x172C]
00000514 D06D E8D0 add.w D0, [A5 - 0x1730]
00000518 906E FFE8 sub.w D0, [A6 - 0x18]
0000051C E240 asr D0.w, 1
0000051E 3F00 move.w -[A7], D0
00000520 302D E8D2 move.w D0, [A5 - 0x172E]
00000524 0640 001E addi.w D0, 0x1E
00000528 3F00 move.w -[A7], D0
0000052A A893 syscall MoveTo
0000052C 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00000530 A884 syscall DrawString
label00000532:
00000532 202E FFF4 move.l D0, [A6 - 0xC]
00000536 4EBA 03A4 jsr [PC + 0x3A4 /* 000008DC */]
0000053A 4EBA 03B0 jsr [PC + 0x3B0 /* 000008EC */]
0000053E 3D40 FFF2 move.w [A6 - 0xE], D0
00000542 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00000546 A873 syscall SetPort
label00000548:
00000548 202E FFF4 move.l D0, [A6 - 0xC]
0000054C 4EBA 0396 jsr [PC + 0x396 /* 000008E4 */]
00000550 302E FFF2 move.w D0, [A6 - 0xE]
00000554 4E5E unlink A6
00000556 4E75 rts
00000558 4444 neg.w D4
0000055A 5F50 subq.w [A0], 7
0000055C 5249 addq.w A1, 1
0000055E 4E54 4E56 link A4, -0xFFFFB1AA
// begin alternate branch 00000560-00000568
fn00000560:
00000560 4E56 FEB6 link A6, -0x014A
00000564 2D4E FFFC move.l [A6 - 0x4], A6
// end alternate branch 00000560-00000568
fn00000560: // (misaligned)
00000562 FEB6 2D4E .extension 0xEB6 <<F/2-3/7>> // unimplemented
00000566 FFFC .invalid <<F/7/7>>
00000568 0C6D 0001 FE94 cmpi.w [A5 - 0x16C], 0x1
0000056E 6600 000C bne +0xE /* 0000057C */
00000572 3D7C 0007 FEE6 move.w [A6 - 0x11A], 0x7
00000578 4EFA 001C jmp [PC + 0x1C /* 00000596 */]
label0000057C:
0000057C 0C6D 0001 FE96 cmpi.w [A5 - 0x16A], 0x1
00000582 6600 000C bne +0xE /* 00000590 */
00000586 3D7C 0008 FEE6 move.w [A6 - 0x11A], 0x8
0000058C 4EFA 0008 jmp [PC + 0x8 /* 00000596 */]
label00000590:
00000590 3D7C 0009 FEE6 move.w [A6 - 0x11A], 0x9 /* '\t' */
label00000596:
00000596 0C6D 0001 FE9A cmpi.w [A5 - 0x166], 0x1
0000059C 6600 000C bne +0xE /* 000005AA */
000005A0 3D7C 000A FEE4 move.w [A6 - 0x11C], 0xA /* '\n' */
000005A6 4EFA 0058 jmp [PC + 0x58 /* 00000600 */]
label000005AA:
000005AA 0C6D 0001 FE9C cmpi.w [A5 - 0x164], 0x1
000005B0 6600 000C bne +0xE /* 000005BE */
000005B4 3D7C 000B FEE4 move.w [A6 - 0x11C], 0xB
000005BA 4EFA 0044 jmp [PC + 0x44 /* 00000600 */]
label000005BE:
000005BE 0C6D 0001 FE9E cmpi.w [A5 - 0x162], 0x1
000005C4 6600 000C bne +0xE /* 000005D2 */
000005C8 3D7C 000C FEE4 move.w [A6 - 0x11C], 0xC
000005CE 4EFA 0030 jmp [PC + 0x30 /* 00000600 */]
label000005D2:
000005D2 0C6D 0001 FEA0 cmpi.w [A5 - 0x160], 0x1
000005D8 6600 000C bne +0xE /* 000005E6 */
000005DC 3D7C 000D FEE4 move.w [A6 - 0x11C], 0xD /* '\r' */
000005E2 4EFA 001C jmp [PC + 0x1C /* 00000600 */]
label000005E6:
000005E6 0C6D 0001 FEA2 cmpi.w [A5 - 0x15E], 0x1
000005EC 6600 000C bne +0xE /* 000005FA */
000005F0 3D7C 000E FEE4 move.w [A6 - 0x11C], 0xE
000005F6 4EFA 0008 jmp [PC + 0x8 /* 00000600 */]
label000005FA:
000005FA 3D7C 000F FEE4 move.w [A6 - 0x11C], 0xF
label00000600:
00000600 42A7 clr.l -[A7]
00000602 3F3C 0115 move.w -[A7], 0x115
00000606 42A7 clr.l -[A7]
00000608 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
0000060E A97C syscall GetNewDialog
00000610 205F movea.l A0, [A7]+
00000612 2D48 FFF4 move.l [A6 - 0xC], A0
00000616 202E FFF4 move.l D0, [A6 - 0xC]
0000061A 7203 moveq.l D1, 0x03
0000061C 740F moveq.l D2, 0x0F
0000061E 486D FE8C pea.l [A5 - 0x174]
00000622 261F move.l D3, [A7]+
00000624 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000628 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000062C 3F3C 0010 move.w -[A7], 0x10
00000630 4267 clr.w -[A7]
00000632 3F3C 0001 move.w -[A7], 0x1
00000636 A97E syscall SelectDialogItemText/SelIText
00000638 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000063C A915 syscall ShowWindow
label0000063E:
0000063E 486D 0132 pea.l [A5 + 0x132 /* export_34 */]
00000642 486E FEEA pea.l [A6 - 0x116]
00000646 A991 syscall ModalDialog
00000648 1D7C 00FF FEEC move.b [A6 - 0x114], 0xFF
0000064E 302E FEEA move.w D0, [A6 - 0x116]
00000652 4EFA 0056 jmp [PC + 0x56 /* 000006AA */]
00000656 3D7C 0004 FEE8 move.w [A6 - 0x118], 0x4
0000065C 4EFA 007C jmp [PC + 0x7C /* 000006DA */]
00000660 3D7C 0003 FEE8 move.w [A6 - 0x118], 0x3
00000666 4EFA 0072 jmp [PC + 0x72 /* 000006DA */]
0000066A 3D7C 0006 FEE8 move.w [A6 - 0x118], 0x6
00000670 4EFA 0068 jmp [PC + 0x68 /* 000006DA */]
00000674 3D7C 0005 FEE8 move.w [A6 - 0x118], 0x5
0000067A 4EFA 005E jmp [PC + 0x5E /* 000006DA */]
0000067E 3D6E FEE6 FEE8 move.w [A6 - 0x118], [A6 - 0x11A]
00000684 3D6E FEEA FEE6 move.w [A6 - 0x11A], [A6 - 0x116]
0000068A 4EFA 004E jmp [PC + 0x4E /* 000006DA */]
0000068E 3D6E FEE4 FEE8 move.w [A6 - 0x118], [A6 - 0x11C]
00000694 3D6E FEEA FEE4 move.w [A6 - 0x11C], [A6 - 0x116]
0000069A 4EFA 003E jmp [PC + 0x3E /* 000006DA */]
label0000069E:
0000069E 422E FEEC clr.b [A6 - 0x114]
000006A2 4EFA 0036 jmp [PC + 0x36 /* 000006DA */]
000006A6 4EFA 0032 jmp [PC + 0x32 /* 000006DA */]
label000006AA:
000006AA 0640 FFFD addi.w D0, 0xFFFD
000006AE 0C40 000C cmpi.w D0, 0xC
000006B2 62EA bhi -0x14 /* 0000069E */
000006B4 E348 lsl D0.w, 1
000006B6 303B 0006 move.w D0, [PC + D0.w + 0x6]
000006BA 4EFB 0002 jmp [PC + D0.w + 0x2]
000006BE FF98 .invalid <<F/6/7>>
000006C0 FFA2 .invalid <<F/6/7>>
000006C2 FFAC .invalid <<F/6/7>>
000006C4 FFB6 .invalid <<F/6/7>>
000006C6 FFC0 .invalid <<F/7/7>>
000006C8 FFC0 .invalid <<F/7/7>>
000006CA FFC0 .invalid <<F/7/7>>
000006CC FFD0 .invalid <<F/7/7>>
000006CE FFD0 .invalid <<F/7/7>>
000006D0 FFD0 .invalid <<F/7/7>>
000006D2 FFD0 .invalid <<F/7/7>>
000006D4 FFD0 .invalid <<F/7/7>>
000006D6 FFD0 .invalid <<F/7/7>>
000006D8 60C4 bra -0x3A /* 0000069E */
label000006DA:
000006DA 1E2E FEEC move.b D7, [A6 - 0x114]
000006DE 6708 beq +0xA /* 000006E8 */
000006E0 302E FEEA move.w D0, [A6 - 0x116]
000006E4 B06E FEE8 cmp.w D0, [A6 - 0x118]
label000006E8:
000006E8 6700 0040 beq +0x42 /* 0000072A */
000006EC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000006F0 3F2E FEEA move.w -[A7], [A6 - 0x116]
000006F4 486E FFF0 pea.l [A6 - 0x10]
000006F8 486E FEBE pea.l [A6 - 0x142]
000006FC 486E FEB6 pea.l [A6 - 0x14A]
00000700 A98D syscall GetDialogItem/GetDItem
00000702 2F2E FEBE move.l -[A7], [A6 - 0x142]
00000706 3F3C 0001 move.w -[A7], 0x1
0000070A A963 syscall SetControlValue/SetCtlValue
0000070C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000710 3F2E FEE8 move.w -[A7], [A6 - 0x118]
00000714 486E FFF0 pea.l [A6 - 0x10]
00000718 486E FEBE pea.l [A6 - 0x142]
0000071C 486E FEB6 pea.l [A6 - 0x14A]
00000720 A98D syscall GetDialogItem/GetDItem
00000722 2F2E FEBE move.l -[A7], [A6 - 0x142]
00000726 4267 clr.w -[A7]
00000728 A963 syscall SetControlValue/SetCtlValue
label0000072A:
0000072A 0C6E 0001 FEEA cmpi.w [A6 - 0x116], 0x1
00000730 6706 beq +0x8 /* 00000738 */
00000732 0C6E 0002 FEEA cmpi.w [A6 - 0x116], 0x2
label00000738:
00000738 6600 FF04 bne -0xFA /* 0000063E */
0000073C 0C6E 0001 FEEA cmpi.w [A6 - 0x116], 0x1
00000742 6600 012A bne +0x12C /* 0000086E */
00000746 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000074A 3F3C 0010 move.w -[A7], 0x10
0000074E 486E FFF0 pea.l [A6 - 0x10]
00000752 486E FEBE pea.l [A6 - 0x142]
00000756 486E FEB6 pea.l [A6 - 0x14A]
0000075A A98D syscall GetDialogItem/GetDItem
0000075C 2F2E FEBE move.l -[A7], [A6 - 0x142]
00000760 486E FEEE pea.l [A6 - 0x112]
00000764 A990 syscall GetDialogItemText/GetIText
00000766 486E FEEE pea.l [A6 - 0x112]
0000076A 201F move.l D0, [A7]+
0000076C 720F moveq.l D1, 0x0F
0000076E 486E FEC2 pea.l [A6 - 0x13E]
00000772 241F move.l D2, [A7]+
00000774 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
00000778 0CAE 0000 7FFF FEC2 cmpi.l [A6 - 0x13E], 0x7FFF
00000780 6F00 000E ble +0x10 /* 00000790 */
00000784 2D7C 0000 7FFF FEC2 move.l [A6 - 0x13E], 0x7FFF
0000078C 4EFA 0012 jmp [PC + 0x12 /* 000007A0 */]
label00000790:
00000790 2E2E FEC2 move.l D7, [A6 - 0x13E]
00000794 6E00 000A bgt +0xC /* 000007A0 */
00000798 2D7C 0000 0001 FEC2 move.l [A6 - 0x13E], 0x1
label000007A0:
000007A0 202E FFF4 move.l D0, [A6 - 0xC]
000007A4 7203 moveq.l D1, 0x03
000007A6 740F moveq.l D2, 0x0F
000007A8 486D FE8C pea.l [A5 - 0x174]
000007AC 261F move.l D3, [A7]+
000007AE 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
000007B2 206D EB7A movea.l A0, [A5 - 0x1486]
000007B6 2050 movea.l A0, [A0]
000007B8 317C 0001 003E move.w [A0 + 0x3E], 0x1
000007BE 206D EB7A movea.l A0, [A5 - 0x1486]
000007C2 2050 movea.l A0, [A0]
000007C4 317C 0001 0040 move.w [A0 + 0x40], 0x1
000007CA 206D EB7A movea.l A0, [A5 - 0x1486]
000007CE 2050 movea.l A0, [A0]
000007D0 316E FEC4 0042 move.w [A0 + 0x42], [A6 - 0x13C]
000007D6 206D EB7A movea.l A0, [A5 - 0x1486]
000007DA 2050 movea.l A0, [A0]
000007DC 117C 0001 0044 move.b [A0 + 0x44], 0x1
000007E2 206D EB7A movea.l A0, [A5 - 0x1486]
000007E6 2050 movea.l A0, [A0]
000007E8 117C 00FF 0045 move.b [A0 + 0x45], 0xFF
000007EE 0C6D 0001 FE8C cmpi.w [A5 - 0x174], 0x1
000007F4 6600 0012 bne +0x14 /* 00000808 */
000007F8 206D EB7A movea.l A0, [A5 - 0x1486]
000007FC 2050 movea.l A0, [A0]
000007FE 0068 0001 0018 ori.w [A0 + 0x18], 0x1
00000804 4EFA 000E jmp [PC + 0xE /* 00000814 */]
label00000808:
00000808 206D EB7A movea.l A0, [A5 - 0x1486]
0000080C 2050 movea.l A0, [A0]
0000080E 0268 FFFE 0018 andi.w [A0 + 0x18], 0xFFFE
label00000814:
00000814 0C6D 0001 FE90 cmpi.w [A5 - 0x170], 0x1
0000081A 6600 0012 bne +0x14 /* 0000082E */
0000081E 206D EB7A movea.l A0, [A5 - 0x1486]
00000822 2050 movea.l A0, [A0]
00000824 117C 0001 001F move.b [A0 + 0x1F], 0x1
0000082A 4EFA 000C jmp [PC + 0xC /* 00000838 */]
label0000082E:
0000082E 206D EB7A movea.l A0, [A5 - 0x1486]
00000832 2050 movea.l A0, [A0]
00000834 4228 001F clr.b [A0 + 0x1F]
label00000838:
00000838 202D EB7A move.l D0, [A5 - 0x1486]
0000083C 4EBA 0054 jsr [PC + 0x54 /* 00000892 */]
00000840 2E2D EC70 move.l D7, [A5 - 0x1390]
00000844 6700 0028 beq +0x2A /* 0000086E */
00000848 206D EC70 movea.l A0, [A5 - 0x1390]
0000084C A04A syscall HNoPurge
0000084E 41ED FE8C lea.l A0, [A5 - 0x174]
00000852 226D EC70 movea.l A1, [A5 - 0x1390]
00000856 2251 movea.l A1, [A1]
00000858 701A moveq.l D0, 0x1A
0000085A A02E syscall BlockMove/BlockMoveData
0000085C 2F2D EC70 move.l -[A7], [A5 - 0x1390]
00000860 A9AA syscall ChangedResource
00000862 2F2D EC70 move.l -[A7], [A5 - 0x1390]
00000866 A9B0 syscall WriteResource
00000868 206D EC70 movea.l A0, [A5 - 0x1390]
0000086C A049 syscall HPurge
label0000086E:
0000086E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000872 A983 syscall DisposeDialog
00000874 0C6E 0001 FEEA cmpi.w [A6 - 0x116], 0x1
0000087A 57C0 seq D0
0000087C 4400 neg.b D0
0000087E 4E5E unlink A6
00000880 4E75 rts
00000882 4444 neg.w D4
00000884 5F50 subq.w [A0], 7
00000886 5254 addq.w [A4], 1
00000888 4449 neg.w A1
export_55:
0000088A 2F00 move.l -[A7], D0
0000088C 4EBA 00B8 jsr [PC + 0xB8 /* 00000946 */]
00000890 4E75 rts
fn00000892:
00000892 2F00 move.l -[A7], D0
00000894 4EBA 00E0 jsr [PC + 0xE0 /* 00000976 */]
00000898 4E75 rts
fn0000089A:
0000089A 4227 clr.b -[A7]
0000089C 2F00 move.l -[A7], D0
0000089E 4EBA 00AE jsr [PC + 0xAE /* 0000094E */]
000008A2 101F move.b D0, [A7]+
000008A4 4E75 rts
000008A6 4227 clr.b -[A7]
000008A8 2F00 move.l -[A7], D0
000008AA 4EBA 00AA jsr [PC + 0xAA /* 00000956 */]
000008AE 101F move.b D0, [A7]+
000008B0 4E75 rts
fn000008B2:
000008B2 2F00 move.l -[A7], D0
000008B4 2F01 move.l -[A7], D1
000008B6 2F02 move.l -[A7], D2
000008B8 2F03 move.l -[A7], D3
000008BA 2F04 move.l -[A7], D4
000008BC 4EBA 00CA jsr [PC + 0xCA /* 00000988 */]
000008C0 4E75 rts
fn000008C2:
000008C2 42A7 clr.l -[A7]
000008C4 2F00 move.l -[A7], D0
000008C6 2F01 move.l -[A7], D1
000008C8 2F02 move.l -[A7], D2
000008CA 4EBA 002A jsr [PC + 0x2A /* 000008F6 */]
000008CE 205F movea.l A0, [A7]+
000008D0 4E75 rts
fn000008D2:
000008D2 2F00 move.l -[A7], D0
000008D4 2F01 move.l -[A7], D1
000008D6 4EBA 0044 jsr [PC + 0x44 /* 0000091C */]
000008DA 4E75 rts
fn000008DC:
000008DC 2F00 move.l -[A7], D0
000008DE 4EBA 0044 jsr [PC + 0x44 /* 00000924 */]
000008E2 4E75 rts
fn000008E4:
000008E4 2F00 move.l -[A7], D0
000008E6 4EBA 002C jsr [PC + 0x2C /* 00000914 */]
000008EA 4E75 rts
export_53:
fn000008EC:
000008EC 4267 clr.w -[A7]
000008EE 4EBA 01B0 jsr [PC + 0x1B0 /* 00000AA0 */]
000008F2 301F move.w D0, [A7]+
000008F4 4E75 rts
fn000008F6:
000008F6 206F 000C movea.l A0, [A7 + 0xC]
000008FA 2050 movea.l A0, [A0]
000008FC 7003 moveq.l D0, 0x03
000008FE C028 0044 and.b D0, [A0 + 0x44]
00000902 72FC moveq.l D1, 0xFFFFFFFC
00000904 C338 0946 and.b [0x00000946 /* ChooserBits */], D1
00000908 8138 0946 or.b [0x00000946 /* ChooserBits */], D0
0000090C 223C 000C 0000 move.l D1, 0xC0000
00000912 6016 bra +0x18 /* 0000092A */
fn00000914:
00000914 223C 0004 8004 move.l D1, 0x48004
0000091A 600E bra +0x10 /* 0000092A */
fn0000091C:
0000091C 223C 0008 0008 move.l D1, 0x80008
00000922 6006 bra +0x8 /* 0000092A */
fn00000924:
00000924 223C 0004 000C move.l D1, 0x4000C
label0000092A:
0000092A 7003 moveq.l D0, 0x03
0000092C C038 0946 and.b D0, [0x00000946 /* ChooserBits */]
00000930 605E bra +0x60 /* 00000990 */
00000932 223C 0000 8000 move.l D1, 0x8000
00000938 7006 moveq.l D0, 0x06
0000093A 6054 bra +0x56 /* 00000990 */
0000093C 223C 000C 8000 move.l D1, 0xC8000
00000942 7007 moveq.l D0, 0x07
00000944 604A bra +0x4C /* 00000990 */
fn00000946:
00000946 223C 0004 8000 move.l D1, 0x48000
0000094C 6036 bra +0x38 /* 00000984 */
fn0000094E:
0000094E 223C 0004 8004 move.l D1, 0x48004
00000954 602E bra +0x30 /* 00000984 */
fn00000956:
00000956 223C 0004 8008 move.l D1, 0x48008
0000095C 6026 bra +0x28 /* 00000984 */
0000095E 223C 0004 000C move.l D1, 0x4000C
00000964 601E bra +0x20 /* 00000984 */
00000966 223C 0004 0010 move.l D1, 0x40010
0000096C 6016 bra +0x18 /* 00000984 */
0000096E 223C 0008 8014 move.l D1, 0x88014
00000974 600E bra +0x10 /* 00000984 */
fn00000976:
00000976 223C 0004 8018 move.l D1, 0x48018
0000097C 6006 bra +0x8 /* 00000984 */
0000097E 223C 0008 801C move.l D1, 0x8801C
label00000984:
00000984 7004 moveq.l D0, 0x04
00000986 6008 bra +0xA /* 00000990 */
fn00000988:
00000988 223C 0014 8000 move.l D1, 0x148000
0000098E 7005 moveq.l D0, 0x05
label00000990:
00000990 41FA 0050 lea.l A0, [PC + 0x50 /* 000009E2, value 0x0, cstring "" */]
00000994 48D0 1810 movem.l [A0], D4,A3,A4
00000998 2801 move.l D4, D1
0000099A 265F movea.l A3, [A7]+
0000099C 598F subq.l A7, 4
0000099E 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
000009A4 3F00 move.w -[A7], D0
000009A6 A9A0 syscall GetResource
000009A8 201F move.l D0, [A7]+
000009AA 672A beq +0x2C /* 000009D6 */
000009AC 2840 movea.l A4, D0
000009AE 08D4 0007 bset.b [A4], 0x7
000009B2 2054 movea.l A0, [A4]
000009B4 7000 moveq.l D0, 0x00
000009B6 1004 move.b D0, D4
000009B8 D1C0 add.l A0, D0
000009BA 2F08 move.l -[A7], A0
000009BC 4217 clr.b [A7]
000009BE 205F movea.l A0, [A7]+
000009C0 4E90 jsr [A0]
000009C2 4A44 tst.w D4
000009C4 6A04 bpl +0x6 /* 000009CA */
000009C6 0894 0007 bclr.b [A4], 0x7
label000009CA:
000009CA 224B movea.l A1, A3
000009CC 41FA 0014 lea.l A0, [PC + 0x14 /* 000009E2, value 0x0, cstring "" */]
000009D0 4CD0 1810 movem.l D4,A3,A4, [A0]
000009D4 4ED1 jmp [A1]
label000009D6:
000009D6 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000009DC 4844 swap.w D4
000009DE DEC4 add.w A7, D4
000009E0 60E8 bra -0x16 /* 000009CA */
000009E2 0000 0000 ori.b D0, 0x0
000009E6 0000 0000 ori.b D0, 0x0
000009EA 0000 0000 ori.b D0, 0x0
fn000009EE:
000009EE 7018 moveq.l D0, 0x18
label000009F0:
000009F0 4267 clr.w -[A7]
000009F2 51C8 FFFC dbf D0, -0x6 /* 000009F0 */
000009F6 41FA 0014 lea.l A0, [PC + 0x14 /* 00000A0C, value 0x62E5072, pstring ".Print" */]
000009FA 2F48 0012 move.l [A7 + 0x12], A0
000009FE 204F movea.l A0, A7
00000A00 A000 syscall Open/PBHOpen/HOpen
label00000A02:
00000A02 DEFC 0032 add.w A7, 0x32 /* '2' */
00000A06 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00000A0A 4E75 rts
00000A0C 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
00000A12 7420 moveq.l D2, 0x20
00000A14 9EFC 0032 sub.w A7, 0x32 /* '2' */
00000A18 204F movea.l A0, A7
00000A1A 317C FFFD 0018 move.w [A0 + 0x18], 0xFFFD
00000A20 A001 syscall Close
00000A22 60DE bra -0x20 /* 00000A02 */
00000A24 205F movea.l A0, [A7]+
00000A26 225F movea.l A1, [A7]+
00000A28 201F move.l D0, [A7]+
00000A2A 221F move.l D1, [A7]+
00000A2C 341F move.w D2, [A7]+
00000A2E 2F08 move.l -[A7], A0
00000A30 9EFC 0032 sub.w A7, 0x32 /* '2' */
00000A34 3F42 001A move.w [A7 + 0x1A], D2
00000A38 2F41 001C move.l [A7 + 0x1C], D1
00000A3C 2F40 0020 move.l [A7 + 0x20], D0
00000A40 2F49 0024 move.l [A7 + 0x24], A1
00000A44 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00000A4A 204F movea.l A0, A7
00000A4C A004 syscall Control
00000A4E 60B2 bra -0x4C /* 00000A02 */
export_56:
00000A50 619C bsr -0x62 /* 000009EE */
00000A52 6636 bne +0x38 /* 00000A8A */
00000A54 7200 moveq.l D1, 0x00
00000A56 6002 bra +0x4 /* 00000A5A */
00000A58 7201 moveq.l D1, 0x01
label00000A5A:
00000A5A 594F subq.w A7, 4
00000A5C 2F3C 5354 5220 move.l -[A7], 0x53545220 /* 'STR ' */
00000A62 3F3C E000 move.w -[A7], 0xE000
00000A66 A9A0 syscall GetResource
00000A68 201F move.l D0, [A7]+
00000A6A 672C beq +0x2E /* 00000A98 */
00000A6C 2240 movea.l A1, D0
00000A6E 554F subq.w A7, 2
00000A70 08D1 0007 bset.b [A1], 0x7
00000A74 2F11 move.l -[A7], [A1]
00000A76 A997 syscall OpenResFile
00000A78 301F move.w D0, [A7]+
00000A7A 0891 0007 bclr.b [A1], 0x7
00000A7E 610C bsr +0xE /* 00000A8C */
00000A80 4A41 tst.w D1
00000A82 6706 beq +0x8 /* 00000A8A */
00000A84 3F00 move.w -[A7], D0
00000A86 A99A syscall CloseResFile
00000A88 6102 bsr +0x4 /* 00000A8C */
label00000A8A:
00000A8A 4E75 rts
fn00000A8C:
00000A8C 31F8 0A60 0944 move.w [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
00000A92 6702 beq +0x4 /* 00000A96 */
00000A94 584F addq.w A7, 4
label00000A96:
00000A96 4E75 rts
label00000A98:
00000A98 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00000A9E 4E75 rts
fn00000AA0:
00000AA0 3F78 0944 0004 move.w [A7 + 0x4], [0x00000944 /* PrintErr */]
00000AA6 4E75 rts
00000AA8 205F movea.l A0, [A7]+
00000AAA 31DF 0944 move.w [0x00000944 /* PrintErr */], [A7]+
00000AAE 4ED0 jmp [A0]